<include file="public@header" />
</head>
<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--页面主要内容-->
        <main class="lyear-layout-content">
          
            <div class="container-fluid">
            
                <div class="row">
                   <div class="col-md-12">
                        <div class="card">
							<ul class="nav nav-tabs">
								<li class="active"><a href="{:url('slide/index')}">幻灯片列表</a></li>
								<li><a href="{:url('slide/add')}">添加幻灯片</a></li>
							</ul>
							<div class="card-body">
								<div class="table-responsive">
                					<table class="table table-hover" >
										<thead>
											<tr>
												<th width="50">ID</th>
												<th>幻灯片</th>
												<th>备注</th>
												<th width="220">{:lang('ACTIONS')}</th>
											</tr>
										</thead>
										<tbody>
											<php>

											</php>
											<foreach name="slides" item="vo">
											<tr>
												<td>{$vo.id}</td>
												<td>{$vo.name}</td>
												<td>
													{$vo.remark}
												</td>
												<td>
							                        <a class="btn btn-xs btn-primary" href="{:url('slide/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
													<a class="btn btn-xs btn-primary" href="javascript:parent.openIframeLayer('{:url('slideItem/index',array('slide_id'=>$vo['id']))}','管理 {$vo.name} 页面',{});">管理页面</a>
							                        <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('slide/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
							                    </td>
											</tr>
											</foreach>
										</tbody>
									</table>
								</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>
</div>
<script src="__TMPL__/public/assets/js/admin.js"></script>
</body>
</html>